package cz.proks.simplecalendarmanager.client.service;

import java.util.Date;
import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

import cz.proks.simplecalendarmanager.shared.model.Calendar;
import cz.proks.simplecalendarmanager.shared.model.CalendarEvent;

@RemoteServiceRelativePath("calendar")
public interface CalendarService extends RemoteService {
	List<Calendar> list(Date from, Date to);
	
	void addEvent(CalendarEvent event);
	void modifyEvent(CalendarEvent event);
	void deleteEvent(CalendarEvent event);
	
	

}
